Align TFMD with TF 2.21 and Python 3.12#63
Open
vkarampudi wants to merge 2 commits intotensorflow:masterfrom
Open
Align TFMD with TF 2.21 and Python 3.12#63vkarampudi wants to merge 2 commits intotensorflow:masterfrom
vkarampudi wants to merge 2 commits intotensorflow:masterfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR aligns
tensorflow-metadata(TFMD) with TensorFlow 2.21 dependencies, adds support for Python 3.12, and drops support for Python 3.9.Changes
Python Version Support
setup.py: Updatedpython_requiresto">=3.10,<4"and removed Python 3.9 classifiers.test.yml, wheels.yml): Removed Python 3.9 from the build and test matrices.Dependency Alignment & Build System
6.31.1in WORKSPACE to align with TF 2.21.rules_python(version0.31.0) to WORKSPACE to resolve dependency resolution errors.1.9.0in WORKSPACE to resolve missingpaths.is_normalizederror required by Protobuf.7.4.1to allow local builds (CI remains at7.7.0).@compatibility_proxyinthird_party/dummy_compatibility_proxyto satisfy transitive dependencies fromrules_javawithout fetching large unused external packages.Documentation
RELEASE.md: Updated with these changes under the "Current Version" section.Verification
Automated Tests
pyteston Python 3.12.Manual Verification
bazel build //tensorflow_metadata/...completes successfully when using Clang 19 (--repo_env=CC=clang) to avoid.sframerelocation errors caused by GCC 15.